<extend name="Base:base"/>
<block name="header">
    <!--[if lte IE 7]>
    <style type="text/css">
        .work li {
            position: relative;
            overflow: hidden;
        }

        .work a {
            position: absolute;
            left: 50%;
            top: 50%;
        }

        .work img {
            position: relative;
            left: -50%;
            top: -50%
        }
    </style>
    <![endif]-->
</block>
<block name="footer"></block>
<block name="main">
    <div class="ShareAnyContainer" style="font-size: 14px;">
        当前位置：<a href="{$data['root']}/" title="首页">首页</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a
            href="{$data['root']}/account/myfav/" title="我的关注">我的关注</a>
    </div>
    <div class="ShareAnySeparate"></div>
    <div class="ShareAnyContainer">
        <div class="work_parent">
            <div class="work">
                <ul>
                    <volist name="data['artwork']" id="artwork">
                        <if condition="$artwork['picture'] neq ''">
                            <li><a href="{$data['root']}/artwork/detail/id/{$artwork['id']}/"><img
                                    src="{$data['upload']}/{$artwork['picture']}"></a><span><br>{$artwork['title']|mb_substr=###,0,18,'utf-8'}<br>作者：{$data['artistList'][$artwork['artist_id']]}

                            <if condition="$data['login'] eq '1'">
                                <br>价格：￥{$artwork['price']}
                            </if>
</span></li>
                        </if>
                    </volist>
                </ul>
            </div>
            <div class="ShareAnyClear"></div>
        </div>
    </div>
</block>